package com.baosight.qualitycontrol.service.impl;

import java.util.Date;
import java.util.Map;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baosight.qualitycontrol.entity.SccFmStrip;
import com.baosight.qualitycontrol.mapper.SccFmStripMapper;
import com.baosight.qualitycontrol.service.StripQualityService;


@Service
public class StripQualityServiceImpl implements StripQualityService {

	@Autowired
	SccFmStripMapper sccFmStripMapper;
	
	@Override
	public Map<String, Object> getStripQuality(Date fromTime, Date toTime, String groupId) {
		return null;
	}

	@Override
	public void evaluateStripQuality(String stripNo) {
		if (StringUtils.isEmpty(stripNo)) return;
		//Create a evaluate result object 
		
		SccFmStrip sccFmStrip = sccFmStripMapper.getSccFmStripByMatNo(stripNo);
		
	

	}

}
